package com.ruoyi.device.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 设备状态列表对象 device_state
 * 
 * @author ruoyi
 * @date 2022-12-11
 */
public class DeviceState extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String deviceNo;

    /** 机型 */
    @Excel(name = "机型")
    private String deviceModel;

    /** 焊机状态 */
    @Excel(name = "焊机状态")
    private String deviceState;

    /** 锁定禁用 */
    @Excel(name = "锁定禁用")
    private String lockState;

    /** 预置电流(A) */
    @Excel(name = "预置电流(A)")
    private String presetCurrent;

    /** 预置电压(V) */
    @Excel(name = "预置电压(V)")
    private String presetVoltage;

    /** 焊接电流(A) */
    @Excel(name = "焊接电流(A)")
    private String weldingCurrent;

    /** 焊接电压(V) */
    @Excel(name = "焊接电压(V)")
    private String weldingVoltage;

    /** 报警代码 */
    @Excel(name = "报警代码")
    private String alarmCode;

    /** 操作人员 */
    @Excel(name = "操作人员")
    private String operators;

    /** 焊缝编号 */
    @Excel(name = "焊缝编号")
    private String weldNo;

    /** 材质 */
    @Excel(name = "材质")
    private String material;

    /** 丝径 */
    @Excel(name = "丝径")
    private String diameter;

    /** 气体 */
    @Excel(name = "气体")
    private String gas;

    /** 是否启用 */
    private Long isValid;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeviceNo(String deviceNo) 
    {
        this.deviceNo = deviceNo;
    }

    public String getDeviceNo() 
    {
        return deviceNo;
    }
    public void setDeviceModel(String deviceModel) 
    {
        this.deviceModel = deviceModel;
    }

    public String getDeviceModel() 
    {
        return deviceModel;
    }
    public void setDeviceState(String deviceState) 
    {
        this.deviceState = deviceState;
    }

    public String getDeviceState() 
    {
        return deviceState;
    }
    public void setLockState(String lockState) 
    {
        this.lockState = lockState;
    }

    public String getLockState() 
    {
        return lockState;
    }
    public void setPresetCurrent(String presetCurrent) 
    {
        this.presetCurrent = presetCurrent;
    }

    public String getPresetCurrent() 
    {
        return presetCurrent;
    }
    public void setPresetVoltage(String presetVoltage) 
    {
        this.presetVoltage = presetVoltage;
    }

    public String getPresetVoltage() 
    {
        return presetVoltage;
    }
    public void setWeldingCurrent(String weldingCurrent) 
    {
        this.weldingCurrent = weldingCurrent;
    }

    public String getWeldingCurrent() 
    {
        return weldingCurrent;
    }
    public void setWeldingVoltage(String weldingVoltage) 
    {
        this.weldingVoltage = weldingVoltage;
    }

    public String getWeldingVoltage() 
    {
        return weldingVoltage;
    }
    public void setAlarmCode(String alarmCode) 
    {
        this.alarmCode = alarmCode;
    }

    public String getAlarmCode() 
    {
        return alarmCode;
    }
    public void setOperators(String operators) 
    {
        this.operators = operators;
    }

    public String getOperators() 
    {
        return operators;
    }
    public void setWeldNo(String weldNo) 
    {
        this.weldNo = weldNo;
    }

    public String getWeldNo() 
    {
        return weldNo;
    }
    public void setMaterial(String material) 
    {
        this.material = material;
    }

    public String getMaterial() 
    {
        return material;
    }
    public void setDiameter(String diameter) 
    {
        this.diameter = diameter;
    }

    public String getDiameter() 
    {
        return diameter;
    }
    public void setGas(String gas) 
    {
        this.gas = gas;
    }

    public String getGas() 
    {
        return gas;
    }
    public void setIsValid(Long isValid) 
    {
        this.isValid = isValid;
    }

    public Long getIsValid() 
    {
        return isValid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deviceNo", getDeviceNo())
            .append("deviceModel", getDeviceModel())
            .append("deviceState", getDeviceState())
            .append("lockState", getLockState())
            .append("presetCurrent", getPresetCurrent())
            .append("presetVoltage", getPresetVoltage())
            .append("weldingCurrent", getWeldingCurrent())
            .append("weldingVoltage", getWeldingVoltage())
            .append("alarmCode", getAlarmCode())
            .append("operators", getOperators())
            .append("weldNo", getWeldNo())
            .append("material", getMaterial())
            .append("diameter", getDiameter())
            .append("gas", getGas())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("isValid", getIsValid())
            .toString();
    }
}
